package tools;

public class tools {

	/**
	 * @param args
	 */
	

	public static int getRandomBrandwidth(){ 
	
	int lower = 3;
	int higher = 20;
	int random = (int)(Math.random() * (higher-lower)) + lower;
	
	return random;
	}

	public static int getRandomEUBrandwidth(int[] downloadEtranBandLimit){ 
	
		int lower = downloadEtranBandLimit[0];
		int higher = downloadEtranBandLimit[1]-20;
		int random = (int)(Math.random() * (higher-lower)) + lower;
		
		return random;
	}

	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
